﻿<%@ Control Language="C#" EnableViewState="true" %>
<%@ Register Assembly="Antu.WebControls" Namespace="Antu.WebControls" TagPrefix="CBW" %>
<style type="text/css">
    #ctl00_MainerRegion_ZS_BCFAControl___GridList_Div1
    {
        border-collapse: collapse;
        border: 1px solid #74a4c0;
        background-color: #FFFFFF;
        text-align: center;
        color: #a30101;
    }
</style>

<script type="text/javascript">
    function showtab(opdiv) {
        $(".divpanle").css("display", "none");
        var tabdiv = $(opdiv).next("div")[0];
        tabdiv.style.color = 'White';
        tabdiv.style.display = '';
        tabdiv.style.left = getMouseXY(event).X - 80;
        tabdiv.style.top = getMouseXY(event).Y + 5;
    }
    function getMouseXY(e) {
        var posx = 0, posy = 0;
        if (e == null) e = window.event;
        if (e.pageX || e.pageY) {
            posx = e.pageX; posy = e.pageY;
        }
        else if (e.clientX || e.clientY) {
            if (document.documentElement.scrollTop) {
                posx = e.clientX + document.documentElement.scrollLeft;
                posy = e.clientY + document.documentElement.scrollTop;
            }
            else {
                posx = e.clientX + document.body.scrollLeft;
                posy = e.clientY + document.body.scrollTop;
            }
        }
        return {
            X: posx,
            Y: posy
}
        }
        document.onclick = function(evt) {
            var _target = evt ? evt.target : event.srcElement;
            var _id = _target.id;
            if (_id == "") {
                _id = _target.tagName;
            }
            if (_id != "opdiv") {
                $(".divpanle").css("display", "none");
            }
        }
</script>

<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-image: url(<%= Antu.Core.Components.SiteSettings.DefaultSiteSettings.DefaultThemeFolderMapPath %>images/menuthb.png);
    margin-top: 1px">
    <tr>
        <td valign="middle" height="30">
            <font id="Font1" style="font-size: 14px; font-weight: bold; color: #3E7CC3; float: left;
                color: black; text-indent: 1em;" runat="server">征收决定诉讼 </font>
        </td>
    </tr>
</table>
<table cellpadding="0" cellspacing="0" border="0" align="center" class="window_tab_list"
    style="width: 98%; margin: 20px 0 10px 0; line-height: 35px; text-align: center;">
    <tr>
        <td>
            项目名称
        </td>
        <td>
            <asp:TextBox runat="server" ID="xmmc"></asp:TextBox>
        </td>
        <td>
            立项号
        </td>
        <td>
            <asp:TextBox runat="server" ID="lxh"></asp:TextBox>
        </td>
        <td rowspan="2">
            <asp:Button ID="btnsearch" runat="server" Text="查询" />
        </td>
    </tr>
    <tr>
        <td>
            征收决定号
        </td>
        <td>
            <asp:TextBox runat="server" ID="xkzh"></asp:TextBox>
        </td>
        <td>
            建设单位
        </td>
        <td>
            <asp:TextBox runat="server" ID="jsdw"></asp:TextBox>
        </td>
    </tr>
</table>
<center style="margin-left: 10px;">
    <CBW:CustomGridView ShowItemNumber="true" AutoGenerateColumns="false" ID="CustomGridList1"
        runat="server" AllowPaging="true" AllowSorting="false" SkinID="List" CustomSortExpression=""
        HideTextLength="20" ShowCmpAndCancel="False" ShowHideColModel="None" Width="99%"
        CssClass="window_tab_list" CustomGridViewClass="window_tab_list_fst">
        <Columns>
            <asp:BoundField DataField="立项号" HeaderText="项目立项号" ItemStyle-Width="80px" />
            <asp:BoundField DataField="项目名称" HeaderText="项目名称" />
            <asp:BoundField DataField="建设单位" HeaderText="建设单位" />
            <asp:BoundField DataField="征收许可证号" HeaderText="征收决定号" />
            <asp:BoundField DataField="征收范围" HeaderText="征收范围" />
            <asp:TemplateField HeaderText="操作">
                <ItemTemplate>
                    <a href="javascript:void(0)" id="opdiv" onclick="showtab(this)">编辑</a>
                    <div class="divpanle" style="display: none; position: absolute; width: 60px; background-color: #86B3E3;
                        padding: 3px; text-align: left" runat="server" id="showoppanle">
                        <a href='ZS_JDSSInfo.aspx?PNID=<%#Eval("ID") %>&ID=<%#Eval("SSID0") %>&DZ=<%=Request["DZ"] %>&type=0'>
                            一审诉讼</a><br />
                        <a href='ZS_JDSSInfo.aspx?PNID=<%#Eval("ID") %>&ID=<%#Eval("SSID1") %>&DZ=<%=Request["DZ"] %>&type=1'>
                            二审诉讼</a><br />
                        <a href='ZS_JDSSInfo.aspx?PNID=<%#Eval("ID") %>&ID=<%#Eval("SSID2") %>&DZ=<%=Request["DZ"] %>&type=2'>
                            再审诉讼</a>
                    </div>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </CBW:CustomGridView>
</center>
